Skip to content

[WIP] Use logger wrap #571

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

agrare
Copy link
Member

@agrare agrare commented Apr 24, 2025

Use a more standard logger+wrap(RequestLogger) instead of trying to log to three different locations in one logger instance

Depends on:

@miq-bot miq-bot added the wip label Apr 24, 2025
@miq-bot
Copy link
Member

miq-bot commented Apr 24, 2025

Checked commits agrare/manageiq-automation_engine@d1a9849~...82b80a7 with ruby 3.1.5, rubocop 1.56.3, haml-lint 0.62.0, and yamllint
11 files checked, 1 offense detected

**

  • 💣 💥 🔥 🚒 - Linter/Rubocop - Linter::Rubocop STDERR:
`EnsureNode#body` is deprecated and will be changed in the next major version of rubocop-ast. Use `EnsureNode#branch` instead to get the body of the `ensure` branch.
Called from:
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/style/redundant_assignment.rb:88:in `check_ensure_node'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/style/redundant_assignment.rb:65:in `check_branch'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/style/redundant_assignment.rb:100:in `check_begin_node'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/style/redundant_assignment.rb:67:in `check_branch'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/style/redundant_assignment.rb:100:in `check_begin_node'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/style/redundant_assignment.rb:67:in `check_branch'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/style/redundant_assignment.rb:51:in `on_def'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:107:in `public_send'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:107:in `block (2 levels) in trigger_responding_cops'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:171:in `with_cop_error_handling'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:106:in `block in trigger_responding_cops'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:105:in `each'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:105:in `trigger_responding_cops'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:69:in `on_defs'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_begin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:147:in `on_while'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_module'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_begin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:20:in `walk'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:87:in `investigate'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/team.rb:156:in `investigate_partial'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/team.rb:98:in `investigate'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:345:in `block in inspect_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:344:in `each'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:344:in `flat_map'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:344:in `inspect_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:287:in `block in do_inspection_loop'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:321:in `block in iterate_until_no_changes'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:314:in `loop'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:314:in `iterate_until_no_changes'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:283:in `do_inspection_loop'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:164:in `block in file_offenses'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:189:in `file_offense_cache'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:163:in `file_offenses'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:154:in `process_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:135:in `block in each_inspected_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:134:in `each'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:134:in `reduce'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:134:in `each_inspected_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:120:in `inspect_files'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:73:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:26:in `block in execute_runner'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:52:in `with_redirect'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:25:in `execute_runner'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:17:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command.rb:11:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/environment.rb:18:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:118:in `run_command'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:125:in `execute_runners'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:51:in `block in run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:77:in `profile_if_needed'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:43:in `run'
/usr/share/gems/gems/rubocop-1.56.3/exe/rubocop:19:in `block in <top (required)>'
/usr/share/ruby/benchmark.rb:311:in `realtime'
/usr/share/gems/gems/rubocop-1.56.3/exe/rubocop:19:in `<top (required)>'
/usr/bin/rubocop:25:in `load'
/usr/bin/rubocop:25:in `<main>'

`EnsureNode#body` is deprecated and will be changed in the next major version of rubocop-ast. Use `EnsureNode#branch` instead to get the body of the `ensure` branch.
Called from:
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/layout/indentation_width.rb:67:in `on_ensure'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:107:in `public_send'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:107:in `block (2 levels) in trigger_responding_cops'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:171:in `with_cop_error_handling'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:106:in `block in trigger_responding_cops'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:105:in `each'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:105:in `trigger_responding_cops'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:69:in `on_ensure'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_kwbegin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_begin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:171:in `on_defs'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_defs'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_begin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:147:in `on_while'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_module'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_begin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:20:in `walk'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:87:in `investigate'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/team.rb:156:in `investigate_partial'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/team.rb:98:in `investigate'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:345:in `block in inspect_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:344:in `each'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:344:in `flat_map'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:344:in `inspect_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:287:in `block in do_inspection_loop'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:321:in `block in iterate_until_no_changes'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:314:in `loop'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:314:in `iterate_until_no_changes'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:283:in `do_inspection_loop'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:164:in `block in file_offenses'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:189:in `file_offense_cache'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:163:in `file_offenses'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:154:in `process_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:135:in `block in each_inspected_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:134:in `each'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:134:in `reduce'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:134:in `each_inspected_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:120:in `inspect_files'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:73:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:26:in `block in execute_runner'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:52:in `with_redirect'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:25:in `execute_runner'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:17:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command.rb:11:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/environment.rb:18:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:118:in `run_command'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:125:in `execute_runners'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:51:in `block in run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:77:in `profile_if_needed'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:43:in `run'
/usr/share/gems/gems/rubocop-1.56.3/exe/rubocop:19:in `block in <top (required)>'
/usr/share/ruby/benchmark.rb:311:in `realtime'
/usr/share/gems/gems/rubocop-1.56.3/exe/rubocop:19:in `<top (required)>'
/usr/bin/rubocop:25:in `load'
/usr/bin/rubocop:25:in `<main>'

`EnsureNode#body` is deprecated and will be changed in the next major version of rubocop-ast. Use `EnsureNode#branch` instead to get the body of the `ensure` branch.
Called from:
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/lint/empty_ensure.rb:51:in `on_ensure'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:107:in `public_send'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:107:in `block (2 levels) in trigger_responding_cops'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:171:in `with_cop_error_handling'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:106:in `block in trigger_responding_cops'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:105:in `each'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:105:in `trigger_responding_cops'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:69:in `on_ensure'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_kwbegin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_begin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:171:in `on_defs'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_defs'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_begin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:147:in `on_while'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_module'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_begin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:20:in `walk'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:87:in `investigate'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/team.rb:156:in `investigate_partial'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/team.rb:98:in `investigate'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:345:in `block in inspect_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:344:in `each'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:344:in `flat_map'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:344:in `inspect_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:287:in `block in do_inspection_loop'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:321:in `block in iterate_until_no_changes'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:314:in `loop'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:314:in `iterate_until_no_changes'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:283:in `do_inspection_loop'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:164:in `block in file_offenses'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:189:in `file_offense_cache'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:163:in `file_offenses'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:154:in `process_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:135:in `block in each_inspected_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:134:in `each'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:134:in `reduce'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:134:in `each_inspected_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:120:in `inspect_files'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:73:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:26:in `block in execute_runner'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:52:in `with_redirect'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:25:in `execute_runner'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:17:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command.rb:11:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/environment.rb:18:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:118:in `run_command'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:125:in `execute_runners'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:51:in `block in run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:77:in `profile_if_needed'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:43:in `run'
/usr/share/gems/gems/rubocop-1.56.3/exe/rubocop:19:in `block in <top (required)>'
/usr/share/ruby/benchmark.rb:311:in `realtime'
/usr/share/gems/gems/rubocop-1.56.3/exe/rubocop:19:in `<top (required)>'
/usr/bin/rubocop:25:in `load'
/usr/bin/rubocop:25:in `<main>'

`EnsureNode#body` is deprecated and will be changed in the next major version of rubocop-ast. Use `EnsureNode#branch` instead to get the body of the `ensure` branch.
Called from:
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/lint/ensure_return.rb:54:in `on_ensure'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:107:in `public_send'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:107:in `block (2 levels) in trigger_responding_cops'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:171:in `with_cop_error_handling'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:106:in `block in trigger_responding_cops'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:105:in `each'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:105:in `trigger_responding_cops'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:69:in `on_ensure'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_kwbegin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_begin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:171:in `on_defs'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_defs'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_begin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:147:in `on_while'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_module'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_begin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:20:in `walk'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:87:in `investigate'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/team.rb:156:in `investigate_partial'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/team.rb:98:in `investigate'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:345:in `block in inspect_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:344:in `each'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:344:in `flat_map'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:344:in `inspect_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:287:in `block in do_inspection_loop'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:321:in `block in iterate_until_no_changes'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:314:in `loop'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:314:in `iterate_until_no_changes'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:283:in `do_inspection_loop'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:164:in `block in file_offenses'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:189:in `file_offense_cache'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:163:in `file_offenses'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:154:in `process_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:135:in `block in each_inspected_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:134:in `each'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:134:in `reduce'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:134:in `each_inspected_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:120:in `inspect_files'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:73:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:26:in `block in execute_runner'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:52:in `with_redirect'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:25:in `execute_runner'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:17:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command.rb:11:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/environment.rb:18:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:118:in `run_command'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:125:in `execute_runners'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:51:in `block in run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:77:in `profile_if_needed'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:43:in `run'
/usr/share/gems/gems/rubocop-1.56.3/exe/rubocop:19:in `block in <top (required)>'
/usr/share/ruby/benchmark.rb:311:in `realtime'
/usr/share/gems/gems/rubocop-1.56.3/exe/rubocop:19:in `<top (required)>'
/usr/bin/rubocop:25:in `load'
/usr/bin/rubocop:25:in `<main>'

`EnsureNode#body` is deprecated and will be changed in the next major version of rubocop-ast. Use `EnsureNode#branch` instead to get the body of the `ensure` branch.
Called from:
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/lint/useless_rescue.rb:78:in `use_exception_variable_in_ensure?'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/lint/useless_rescue.rb:61:in `only_reraising?'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/lint/useless_rescue.rb:54:in `on_rescue'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:107:in `public_send'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:107:in `block (2 levels) in trigger_responding_cops'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:171:in `with_cop_error_handling'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:106:in `block in trigger_responding_cops'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:105:in `each'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:105:in `trigger_responding_cops'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:69:in `on_rescue'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:149:in `block in on_case'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:149:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:149:in `on_case'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_ensure'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_kwbegin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_begin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:171:in `on_defs'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_defs'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_begin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:147:in `on_while'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_module'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `block in on_dstr'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `each'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:146:in `on_dstr'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:71:in `on_begin'
/usr/share/gems/gems/rubocop-ast-1.44.0/lib/rubocop/ast/traversal.rb:20:in `walk'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/commissioner.rb:87:in `investigate'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/team.rb:156:in `investigate_partial'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cop/team.rb:98:in `investigate'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:345:in `block in inspect_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:344:in `each'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:344:in `flat_map'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:344:in `inspect_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:287:in `block in do_inspection_loop'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:321:in `block in iterate_until_no_changes'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:314:in `loop'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:314:in `iterate_until_no_changes'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:283:in `do_inspection_loop'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:164:in `block in file_offenses'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:189:in `file_offense_cache'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:163:in `file_offenses'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:154:in `process_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:135:in `block in each_inspected_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:134:in `each'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:134:in `reduce'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:134:in `each_inspected_file'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:120:in `inspect_files'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/runner.rb:73:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:26:in `block in execute_runner'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:52:in `with_redirect'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:25:in `execute_runner'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command/execute_runner.rb:17:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/command.rb:11:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli/environment.rb:18:in `run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:118:in `run_command'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:125:in `execute_runners'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:51:in `block in run'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:77:in `profile_if_needed'
/usr/share/gems/gems/rubocop-1.56.3/lib/rubocop/cli.rb:43:in `run'
/usr/share/gems/gems/rubocop-1.56.3/exe/rubocop:19:in `block in <top (required)>'
/usr/share/ruby/benchmark.rb:311:in `realtime'
/usr/share/gems/gems/rubocop-1.56.3/exe/rubocop:19:in `<top (required)>'
/usr/bin/rubocop:25:in `load'
/usr/bin/rubocop:25:in `<main>'


@miq-bot
Copy link
Member

miq-bot commented May 27, 2025

This pull request is not mergeable. Please rebase and repush.

@miq-bot
Copy link
Member

miq-bot commented May 27, 2025

This pull request is not mergeable. Please rebase and repush.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants